var SceneManager = function()
{

	this.update = function(){
		switch(currentScene)
		{
			case SCENE.MENU:
				scene = new MenuScene();
				break;
			case SCENE.GAME:
				scene = new GameScene();
				break;
			case SCENE.CREDITS:
				scene = new CreditsScene();
				break;
		}

		scene.update();
	}

	this.draw = function(){
		scene.draw();
	}
}